
angular.module('Demo')

.controller('Demo.DetailCtrl', ['$scope', function ($scope) {
    $scope.data = {
        singleMaster: {
            MOCode: '006',
            MOLotNumber: 'P2012',
            ItemMasterCode: 'ST021',
            ItemMasterName: '网拍',
            WorkName: '补土质检',
            Users: [{
                Name: '李红'
            }]
        },
        badDetail: [{
            BadType: '碰伤/划伤',
            BadPosition: '内12点',
            Description: '轻微划伤'
        }, {
            BadType: '孔边掉漆',
            BadPosition: '2/12点',
            Description: '面积不大'
        }, {
            BadType: 'PU发泡',
            BadPosition: 'T头',
            Description: ''
        }]
    };
}]);